import { imageMimeTypes } from './utils/imageMimeTypes';
import { type ChartsLocaleText } from './utils/chartsLocaleTextApi';
import { getChartsLocalization } from './utils/getChartsLocalization';

export const svSELocaleText: Partial<ChartsLocaleText> = {
  // Overlay
  loading: 'Laddar data…',
  noData: 'Inga data att visa',

  // Toolbar
  zoomIn: 'Zooma in',
  zoomOut: 'Zooma ut',
  toolbarExport: 'Exportera',

  // Toolbar Export Menu
  toolbarExportPrint: 'Skriv ut',
  toolbarExportImage: (mimeType) => `Exportera som ${imageMimeTypes[mimeType] ?? mimeType}`,

  // Charts renderer configuration
  // chartTypeBar: 'Bar',
  // chartTypeColumn: 'Column',
  // chartTypeLine: 'Line',
  // chartTypeArea: 'Area',
  // chartTypePie: 'Pie',
  // chartPaletteLabel: 'Color palette',
  // chartPaletteNameRainbowSurge: 'Rainbow Surge',
  // chartPaletteNameBlueberryTwilight: 'Blueberry Twilight',
  // chartPaletteNameMangoFusion: 'Mango Fusion',
  // chartPaletteNameCheerfulFiesta: 'Cheerful Fiesta',
  // chartPaletteNameStrawberrySky: 'Strawberry Sky',
  // chartPaletteNameBlue: 'Blue',
  // chartPaletteNameGreen: 'Green',
  // chartPaletteNamePurple: 'Purple',
  // chartPaletteNameRed: 'Red',
  // chartPaletteNameOrange: 'Orange',
  // chartPaletteNameYellow: 'Yellow',
  // chartPaletteNameCyan: 'Cyan',
  // chartPaletteNamePink: 'Pink',
  // chartConfigurationSectionChart: 'Chart',
  // chartConfigurationSectionColumns: 'Columns',
  // chartConfigurationSectionBars: 'Bars',
  // chartConfigurationSectionAxes: 'Axes',
  // chartConfigurationGrid: 'Grid',
  // chartConfigurationBorderRadius: 'Border radius',
  // chartConfigurationCategoryGapRatio: 'Category gap ratio',
  // chartConfigurationBarGapRatio: 'Series gap ratio',
  // chartConfigurationStacked: 'Stacked',
  // chartConfigurationShowToolbar: 'Show toolbar',
  // chartConfigurationSkipAnimation: 'Skip animation',
  // chartConfigurationInnerRadius: 'Inner radius',
  // chartConfigurationOuterRadius: 'Outer radius',
  // chartConfigurationColors: 'Colors',
  // chartConfigurationHideLegend: 'Hide legend',
  // chartConfigurationShowMark: 'Show mark',
  // chartConfigurationHeight: 'Height',
  // chartConfigurationWidth: 'Width',
  // chartConfigurationSeriesGap: 'Series gap',
  // chartConfigurationTickPlacement: 'Tick placement',
  // chartConfigurationTickLabelPlacement: 'Tick label placement',
  // chartConfigurationCategoriesAxisLabel: 'Categories axis label',
  // chartConfigurationSeriesAxisLabel: 'Series axis label',
  // chartConfigurationXAxisPosition: 'X-axis position',
  // chartConfigurationYAxisPosition: 'Y-axis position',
  // chartConfigurationSeriesAxisReverse: 'Reverse series axis',
  // chartConfigurationTooltipPlacement: 'Placement',
  // chartConfigurationTooltipTrigger: 'Trigger',
  // chartConfigurationLegendPosition: 'Position',
  // chartConfigurationLegendDirection: 'Direction',
  // chartConfigurationBarLabels: 'Bar labels',
  // chartConfigurationColumnLabels: 'Column labels',
  // chartConfigurationInterpolation: 'Interpolation',
  // chartConfigurationSectionTooltip: 'Tooltip',
  // chartConfigurationSectionLegend: 'Legend',
  // chartConfigurationSectionLines: 'Lines',
  // chartConfigurationSectionAreas: 'Areas',
  // chartConfigurationSectionArcs: 'Arcs',
  // chartConfigurationPaddingAngle: 'Padding angle',
  // chartConfigurationCornerRadius: 'Corner radius',
  // chartConfigurationArcLabels: 'Arc labels',
  // chartConfigurationStartAngle: 'Start angle',
  // chartConfigurationEndAngle: 'End angle',
  // chartConfigurationPieTooltipTrigger: 'Trigger',
  // chartConfigurationPieLegendPosition: 'Position',
  // chartConfigurationPieLegendDirection: 'Direction',

  // Common option labels
  // chartConfigurationOptionNone: 'None',
  // chartConfigurationOptionValue: 'Value',
  // chartConfigurationOptionAuto: 'Auto',
  // chartConfigurationOptionTop: 'Top',
  // chartConfigurationOptionTopLeft: 'Top Left',
  // chartConfigurationOptionTopRight: 'Top Right',
  // chartConfigurationOptionBottom: 'Bottom',
  // chartConfigurationOptionBottomLeft: 'Bottom Left',
  // chartConfigurationOptionBottomRight: 'Bottom Right',
  // chartConfigurationOptionLeft: 'Left',
  // chartConfigurationOptionRight: 'Right',
  // chartConfigurationOptionAxis: 'Axis',
  // chartConfigurationOptionItem: 'Item',
  // chartConfigurationOptionHorizontal: 'Horizontal',
  // chartConfigurationOptionVertical: 'Vertical',
  // chartConfigurationOptionBoth: 'Both',
  // chartConfigurationOptionStart: 'Start',
  // chartConfigurationOptionMiddle: 'Middle',
  // chartConfigurationOptionEnd: 'End',
  // chartConfigurationOptionExtremities: 'Extremities',
  // chartConfigurationOptionTick: 'Tick',
  // chartConfigurationOptionMonotoneX: 'Monotone X',
  // chartConfigurationOptionMonotoneY: 'Monotone Y',
  // chartConfigurationOptionCatmullRom: 'Catmull-Rom',
  // chartConfigurationOptionLinear: 'Linear',
  // chartConfigurationOptionNatural: 'Natural',
  // chartConfigurationOptionStep: 'Step',
  // chartConfigurationOptionStepBefore: 'Step Before',
  // chartConfigurationOptionStepAfter: 'Step After',
  // chartConfigurationOptionBumpX: 'Bump X',
  // chartConfigurationOptionBumpY: 'Bump Y',
};

export const svSE = getChartsLocalization(svSELocaleText);
